package com.chujian.model;

public class CurrentOrderBean {
	public  Order mOrder;
	public String mTableName;
	public String mUserPhone;
	public CurrentOrderBean(Order mOrder, String mTableName, String mUserPhone) {
		super();
		this.mOrder = mOrder;
		this.mTableName = mTableName;
		this.mUserPhone = mUserPhone;
	}
	public Order getmOrder() {
		return mOrder;
	}
	public void setmOrder(Order mOrder) {
		this.mOrder = mOrder;
	}
	public String getmTableName() {
		return mTableName;
	}
	public void setmTableName(String mTableName) {
		this.mTableName = mTableName;
	}
	public String getmUserPhone() {
		return mUserPhone;
	}
	public void setmUserPhone(String mUserPhone) {
		this.mUserPhone = mUserPhone;
	}
	@Override
	public String toString() {
		return "CurrentOrderBean [mOrder=" + mOrder + ", mTableName="
				+ mTableName + ", mUserPhone=" + mUserPhone + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((mOrder == null) ? 0 : mOrder.hashCode());
		result = prime * result
				+ ((mTableName == null) ? 0 : mTableName.hashCode());
		result = prime * result
				+ ((mUserPhone == null) ? 0 : mUserPhone.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		CurrentOrderBean other = (CurrentOrderBean) obj;
		if (mOrder == null) {
			if (other.mOrder != null)
				return false;
		} else if (!mOrder.equals(other.mOrder))
			return false;
		if (mTableName == null) {
			if (other.mTableName != null)
				return false;
		} else if (!mTableName.equals(other.mTableName))
			return false;
		if (mUserPhone == null) {
			if (other.mUserPhone != null)
				return false;
		} else if (!mUserPhone.equals(other.mUserPhone))
			return false;
		return true;
	}

	
}
